home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wlib11_4.zip / HEADERS.EXE / WERROR.H < prev    next >
Text File  |  1991-02-18  |  922b  |  41 lines

  1. /*** WERROR.H ***/
  2.  
  3. /* Written By P.A. McKenzie
  4.  * The C Window Library
  5.  * Copyright (C) 1990   All Rights Reserved
  6. */
  7. /******************** Window Error Codes*****************/
  8. #define NO_ERROR            0
  9.  
  10. #define NO_HEAP_MEM        -1
  11. #define BAD_DISPLAY_PAGE   -2
  12. #define INVALID_VIDEO_MODE -3
  13. #define INVALID_ROWS       -4
  14.  
  15. #define BAD_WINDOW         -100
  16. #define BAD_WINDOW_SIZE    -101
  17. #define WINDOW_NOT_OPEN    -102
  18. #define WINDOW_BOUND       -103
  19. #define MAX_WINDOW         -104
  20. #define WINDOW_INV_PARAM   -105
  21. #define NO_INPUT_CHARS     -106
  22.  
  23. #define BAD_V_WINDOW       -200
  24. #define END_V_WINDOW       -201
  25. #define V_WINDOW_BOUND     -202
  26. #define MAX_V_WINDOW       -203
  27. #define NO_ATTRIB          -204
  28.  
  29. #define FILE_NO_EXIST      -300
  30. #define FILE_CANT_CLOSE    -301
  31. #define FILE_CANT_OPEN     -302
  32.  
  33.  
  34. #define MENU_ENTRY_INVALID -400
  35.  
  36.  
  37. #define NUM_WINDOW_ERRORS  21
  38.  
  39.  
  40.  
  41.